3.704 \(\int \frac{x^m}{a+b x} \, dx\)

Optimal. Leaf size=29 \[ \frac{x^{m+1} \, _2F_1\left (1,m+1;m+2;-\frac{b x}{a}\right )}{a (m+1)} \]

[Out]

(x^(1 + m)*Hypergeometric2F1[1, 1 + m, 2 + m, -((b*x)/a)])/(a*(1 + m))

________________________________________________________________________________________

Rubi [A]  time = 0.0056343, antiderivative size = 29, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 11, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.091, Rules used = {64} \[ \frac{x^{m+1} \, _2F_1\left (1,m+1;m+2;-\frac{b x}{a}\right )}{a (m+1)} \]

Antiderivative was successfully verified.

[In]

Int[x^m/(a + b*x),x]

[Out]

(x^(1 + m)*Hypergeometric2F1[1, 1 + m, 2 + m, -((b*x)/a)])/(a*(1 + m))

Rule 64

Int[((b_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[(c^n*(b*x)^(m + 1)*Hypergeometric2F1[-n, m +
 1, m + 2, -((d*x)/c)])/(b*(m + 1)), x] /; FreeQ[{b, c, d, m, n}, x] &&  !IntegerQ[m] && (IntegerQ[n] || (GtQ[
c, 0] &&  !(EqQ[n, -2^(-1)] && EqQ[c^2 - d^2, 0] && GtQ[-(d/(b*c)), 0])))

Rubi steps

\begin{align*} \int \frac{x^m}{a+b x} \, dx &=\frac{x^{1+m} \, _2F_1\left (1,1+m;2+m;-\frac{b x}{a}\right )}{a (1+m)}\\ \end{align*}

Mathematica [A]  time = 0.0060936, size = 29, normalized size = 1. \[ \frac{x^{m+1} \, _2F_1\left (1,m+1;m+2;-\frac{b x}{a}\right )}{a (m+1)} \]

Antiderivative was successfully verified.

[In]

Integrate[x^m/(a + b*x),x]

[Out]

(x^(1 + m)*Hypergeometric2F1[1, 1 + m, 2 + m, -((b*x)/a)])/(a*(1 + m))

________________________________________________________________________________________

Maple [F]  time = 0.026, size = 0, normalized size = 0. \begin{align*} \int{\frac{{x}^{m}}{bx+a}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^m/(b*x+a),x)

[Out]

int(x^m/(b*x+a),x)

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{m}}{b x + a}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^m/(b*x+a),x, algorithm="maxima")

[Out]

integrate(x^m/(b*x + a), x)

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{x^{m}}{b x + a}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^m/(b*x+a),x, algorithm="fricas")

[Out]

integral(x^m/(b*x + a), x)

________________________________________________________________________________________

Sympy [C]  time = 0.629635, size = 61, normalized size = 2.1 \begin{align*} \frac{m x x^{m} \Phi \left (\frac{b x e^{i \pi }}{a}, 1, m + 1\right ) \Gamma \left (m + 1\right )}{a \Gamma \left (m + 2\right )} + \frac{x x^{m} \Phi \left (\frac{b x e^{i \pi }}{a}, 1, m + 1\right ) \Gamma \left (m + 1\right )}{a \Gamma \left (m + 2\right )} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**m/(b*x+a),x)

[Out]

m*x*x**m*lerchphi(b*x*exp_polar(I*pi)/a, 1, m + 1)*gamma(m + 1)/(a*gamma(m + 2)) + x*x**m*lerchphi(b*x*exp_pol
ar(I*pi)/a, 1, m + 1)*gamma(m + 1)/(a*gamma(m + 2))

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{m}}{b x + a}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^m/(b*x+a),x, algorithm="giac")

[Out]

integrate(x^m/(b*x + a), x)